package com.zmt.xuechengplusbase.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 分页参数
 */
@Data
@ToString
public class PageParams {

    @ApiModelProperty(value = "分页页码",example = "1")
    private Long pageNo;
    @ApiModelProperty(value = "分页大小",example = "2")
    private Long pageSize;

    public PageParams() {
    }

    public PageParams(Long pageNo, Long pageSize) {
        this.pageNo = pageNo;
        this.pageSize = pageSize;
    }
}
